package com.gudaomai.ekproject.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.gudaomai.ekproject.common.EkBaseMapper;
import com.gudaomai.ekproject.entity.Sysuser;

/**
 * <p>
  * sysuser Mapper 接口
 * </p>
 *
 * @author zenghualu
 * @since 2017-06-26
 */
public interface SysuserMapper extends EkBaseMapper<Sysuser> {
	
	//通过姓名获取Sysuser
	@Select("select * from sysuser where name=#{name}")
	public Sysuser getSysuserByName(@Param("name")String name);
	
}